<script type="text/javascript">
	var useAnalytics = true;

	try 
	{
	    //Turn off analytics if 'analytics=off' is included as a request parameter.
	    var parameters = window.location.search.split('&');
	    
	    if (parameters[0]) 
	        parameters[0] = parameters[0].replace('?', '');
        
	    for (var i = 0; i < parameters.length; i++) 
		{
	        var values = parameters[i].split('=');
	        
	        if (values[0] == 'analytics' && values[1] == 'off')
	            useAnalytics = false;
	    }
	    
        //Turn off analytics if 'localhost' is the host
        var host = window.location.host;
        
        if ((host == 'localhost') || (host == 'localhost:8888'))
            useAnalytics = false;
	    
	} 
	catch(e) 
	{
	    //Just in case something goes wrong...
	    useAnalytics = true;
	}
	
	if (useAnalytics) 
	{
	    var _gaq = _gaq || [];
	    _gaq.push(['_setAccount', 'UA-37195648-1']);
	    _gaq.push(['_trackPageview']);
	
	    (function() 
	    {
	    	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	    })();
	}

</script>